package team.seekers.hula.message.message.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import team.seekers.hula.common.entity.enums.MessageTypeEnum;
import team.seekers.hula.common.entity.enums.NoticeTypeEnum;

import java.io.Serializable;

/**
 * <p>
 * 消息通知新增表
 * </p>
 *
 * @author hbc
 * @since 2021-02-22
 */
@Data
public class MessageAddDTO implements Serializable {

    @ApiModelProperty(value = "消息接收者id")
    private String toId;

    @ApiModelProperty(value = "相关数据的id，比如问题违规的问题id")
    private String linkId;

    @ApiModelProperty(value = "问题的id")
    private String questionId;

    @ApiModelProperty(value = "消息类型")
    private NoticeTypeEnum type;

    private String description;

}
